<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/include/page.jsp"%>
<!DOCTYPE HTML>
<html>
	<head>
		<title>菜单更新 - 用户中心</title>
		<%@ include file="/common/include/title.jsp"%>
		<link
			href="${rootPath }/common/resource/H-ui.admin/static/h-ui.admin/css/H-ui.login.css"
			rel="stylesheet" type="text/css" />
		<meta name="keywords" content="用户中心-登录">
		<meta name="description" content="用户中心-登录">
		</head>
	<body>
		<nav class="breadcrumb">
			<i class="Hui-iconfont">&#xe67f;</i> 首页
			<span class="c-gray en">&gt;</span>权限模块 
			<span class="c-gray en">&gt;</span> 菜单更新
			<a class="btn btn-success radius r" style="line-height: 1.6em; margin-top: 3px"
				href="javascript:location.replace(location.href);" title="刷新">
				<i class="Hui-iconfont">&#xe68f;</i>
			</a>
		</nav>
		<article class="page-container">
			<form class="form form-horizontal" id="form-article-add" 
				action="${rootPath }/back/UsersBack/menuUpdateSubmit">
				<input type="hidden" name="id" value="${requestScope.menu.id }">
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">
					<span class="c-red">*</span>上一级：</label>
					<div class="formControls col-xs-8 col-sm-9">
						${requestScope.menu.parentMenu.name }
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">
					<span class="c-red">*</span>名称：</label>
					<div class="formControls col-xs-8 col-sm-9">
						${requestScope.menu.name }
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">
					<span class="c-red">*</span>Url：</label>
					<div class="formControls col-xs-8 col-sm-9">
						${requestScope.menu.url }
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">
					<span class="c-red">*</span>发布时间：</label>
					<div class="formControls col-xs-8 col-sm-9">
						<fmt:formatDate value="${requestScope.menu.pubTime }" pattern="yyyy-MM-dd HH:mm:ss"/>
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">
						状态：
					</label>
					<div class="formControls col-xs-8 col-sm-9 skin-minimal">
						<c:choose>
							<c:when test="${requestScope.menu.status == '1' }">
								启用
							</c:when>
							<c:when test="${requestScope.menu.status == '0' }">
								禁用
							</c:when>
							<c:otherwise>
								未知
							</c:otherwise>
						</c:choose>
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">内容：</label>
					<div class="formControls col-xs-8 col-sm-9">
						${requestScope.menu.content}
					</div>
				</div>
			</form>
		</article>
		<%@ include file="/common/include/footer.jsp"%>
	</body>
</html>